#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:do_dict.py
# author:Jackiex
# datetime:2023/4/17 10:05
# software: PyCharm

"""
this is function  description 
"""

d = {
    'Michael': 95,
    'Bob': 75,
    'Tracy': 85
}
#
# print(d['Michael'])

# d1 = {'Name': 'Runoob', 'Age': 7, 'Class': 'First'}

# d1['age'] = 10
#
# print(d1)

# print(d1.values())
#
# print(d1.keys())


d2 = {
    "Michael": 95,
    "Bob": 75,
    "Tracy": 85
}

# print(type(d))
#
# print(type(d2))
#
# print(d["Michael"])

# for k,v in d2.items():
#     print(k,v)

print('bob' in d2)